package com.woniu.supermarket.service;


import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.Department;

import java.util.List;

public interface IDepartmentService {
    int addDepartment(Department department);

    int modifyDepartment(Department department);

    int removeDepartment(Integer id);

    PageInfo<Department> findByConds(Integer now,Integer size,String name);

    List<Department> findAll();
}
